package a.a;

import a.c.k;
import a.c.n;
import a.c.q;
import a.c.w;
import a.c.*;

public class e
{
  public static boolean a;
  
  public static void a(q paramq, x paramx, boolean paramBoolean, k paramk)
  {
    if (paramk == null)
    {
      if (m.b != 0) {
        break label24;
      }
      v.a(paramq, paramx, paramBoolean);
      if (!m.a) {
        return;
      }
    }
    label24:
    v.a(paramq, paramx, paramk, paramBoolean);
  }
  
  public static void a(q paramq, n paramn, boolean paramBoolean, k paramk)
  {
    if (paramk == null)
    {
      if (m.b != 0) {
        break label24;
      }
      v.a(paramq, paramn, paramBoolean);
      if (!m.a) {
        return;
      }
    }
    label24:
    v.a(paramq, paramn, paramk, paramBoolean);
  }
  
  public static void a(q paramq, x paramx, n paramn, boolean paramBoolean, k paramk)
  {
    if (paramk == null)
    {
      if (m.b != 0) {
        break label27;
      }
      v.a(paramq, paramx, paramn, paramBoolean);
      if (!m.a) {
        return;
      }
    }
    label27:
    v.a(paramq, paramx, paramn, paramk, paramBoolean);
  }
  
  public static void b(q paramq, x paramx, boolean paramBoolean, k paramk)
  {
    if (paramk == null)
    {
      if (m.b != 0) {
        break label24;
      }
      g.a(paramq, paramx, paramBoolean);
      if (!m.a) {
        return;
      }
    }
    label24:
    g.a(paramq, paramx, paramk, paramBoolean);
  }
  
  public static void c(q paramq, x paramx, boolean paramBoolean, k paramk)
  {
    if (paramk == null)
    {
      if (m.b != 0) {
        break label24;
      }
      z.a(paramq, paramx, paramBoolean);
      if (!m.a) {
        return;
      }
    }
    label24:
    z.a(paramq, paramx, paramk, paramBoolean);
  }
  
  public static void a(q paramq, x paramx, boolean paramBoolean1, boolean paramBoolean2)
  {
    int j = m.b;
    boolean bool = m.a;
    w localw = paramq.v();
    do
    {
      if (!localw.e()) {
        break;
      }
      int i = 0;
      if (j == 0) {
        if (paramBoolean1) {
          i += localw.d().d();
        }
      }
      if (j == 0)
      {
        if (paramBoolean2) {
          i += localw.d().e();
        }
        paramx.a(localw.d(), i);
        localw.f();
      }
    } while (!bool);
  }
  
  public static void a(q paramq, x paramx, boolean paramBoolean1, boolean paramBoolean2, k paramk)
  {
    int i = m.b;
    boolean bool = m.a;
    if (i == 0)
    {
      if (paramk == null)
      {
        if (i != 0) {
          break label38;
        }
        a(paramq, paramx, paramBoolean1, paramBoolean2);
      }
    }
    else if (!bool) {
      return;
    }
    label38:
    w localw = paramq.v();
    label227:
    label229:
    do
    {
      do
      {
        if (!localw.e()) {
          return;
        }
        double d = 0.0D;
        a.c.m localm;
        if (i == 0)
        {
          if (paramBoolean1)
          {
            localm = localw.d().m();
            do
            {
              if (!localm.e()) {
                break;
              }
              d += paramk.getDouble(localm.a());
              localm.f();
              if (i != 0) {
                break label229;
              }
              if (bool) {
                break label227;
              }
            } while (!bool);
          }
          if (i != 0) {
            break label229;
          }
        }
        if (paramBoolean2)
        {
          localm = localw.d().n();
          do
          {
            if (!localm.e()) {
              break;
            }
            d += paramk.getDouble(localm.a());
            localm.f();
            if (i != 0) {
              break label229;
            }
            if (bool) {
              break label227;
            }
          } while (!bool);
        }
        paramx.a(localw.d(), d);
      } while (i != 0);
      localw.f();
    } while (!bool);
  }
  
  public static void a(q paramq, x paramx)
  {
    int i = m.b;
    boolean bool = m.a;
    double d = -1.797693134862316E+308D;
    w localw = paramq.v();
    if (localw.e()) {}
    while (i != 0)
    {
      if (bool) {
        break label87;
      }
      if (paramx.getDouble(localw.d()) > d) {
        d = paramx.getDouble(localw.d());
      }
      localw.f();
      if (!bool) {
        break;
      }
    }
    if (d > 0.0D) {
      label87:
      localw = paramq.v();
    }
    while (i != 0) {
      while (!bool)
      {
        if (!localw.e()) {
          break;
        }
        paramx.a(localw.d(), paramx.getDouble(localw.d()) / d);
        localw.f();
      }
    }
  }
  
  public static void a(q paramq, n paramn)
  {
    int i = m.b;
    boolean bool = m.a;
    double d = -1.797693134862316E+308D;
    a.c.m localm = paramq.w();
    if (localm.e()) {}
    while (i != 0)
    {
      if (bool) {
        break label87;
      }
      if (paramn.getDouble(localm.a()) > d) {
        d = paramn.getDouble(localm.a());
      }
      localm.f();
      if (!bool) {
        break;
      }
    }
    if (d > 0.0D) {
      label87:
      localm = paramq.w();
    }
    while (i != 0) {
      while (!bool)
      {
        if (!localm.e()) {
          break;
        }
        paramn.a(localm.a(), paramn.getDouble(localm.a()) / d);
        localm.f();
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.a.e

 * JD-Core Version:    0.7.0.1

 */